package cn.sxw.ld.module.category.service;

import cn.sxw.ld.module.category.pojo.Category;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:CategoryService
 * Package:cn.sjxy.graduation.service
 * Description:
 *
 * @Date:2022/5/27 19:57
 * @Author:SXW
 */
@Service
public interface CategoryService extends IService<Category> {

    void remove(Long id);

    Page getPage(int page, int pageSize);

    List<Category> getCategorys(Category category);
}
